﻿Imports System.ComponentModel.DataAnnotations

Public Class SanPham
    <Key()>
    Public Property Id() As Int32
    <MaxLength(250)>
      <Required()>
    Public Property Ten() As String
    Public Property DanhMuc() As DanhMuc
    <Required()>
      Public Property Gia() As Int32

End Class
